package com.atguigu.spzx.product.mapper;

import com.atguigu.spzx.model.entity.product.ProductSku;
import com.atguigu.spzx.model.vo.product.ProductSkuDto;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ProductSkuMapper {
    List<ProductSku> selectProductSkuBySale();

    List<ProductSku> findByPage(ProductSkuDto productSkuDto);

    ProductSku selectProductSkuById(Long skuId);

    List<ProductSku> selectByProductId(Long productId);
}
